package org.apache.database.infs;

import org.apache.database.dao.Condition;

public interface UpdateInterface {
    /**
     * 根据对象内Id更新
     * @return
     */
    int updateById(Object o);


    /**
     * 更具条件更新，更新指定字段
     * @param o
     * @param condition
     * @return
     */
    int update(Object o, Condition condition, String... field);


}
